package com.sgb.kjwl.di.shopping;

import com.sgb.kjwl.view.ui.activity.ShoppingCar.StatementActivity;
import com.sgb.kjwl.viewmodel.shopping.StatementModel;
import com.swgk.core.base.di.Activity;

import dagger.Module;
import dagger.Provides;

@Module
public class StatementModule {
    private StatementActivity activity;

    public StatementModule(StatementActivity activity) {
        this.activity = activity;
    }

    @Provides
    @Activity
    StatementModel provideStatementModel() {
        return new StatementModel(activity);
    }

}
